import { post } from '@/assets/api/http';


// 获取分类
export const getImformationCate = (data, config) => post('/api/imformation/getCate', data, config);

// 获取数据
export const getImformationList = (data, config) => post('/api/imformation/getList', data, config);

// 获取数据
export const getHotImformationList = (data, config) => post('/api/imformation/hot_imformation', data, config);

// 获取数据
export const getImformationInfo = (data, config) => post('/api/imformation/getListinfo', data, config);

// 资讯收藏
export const setCollect = (data, config) => post('/api/imformation/setCollect', data, config);

// 获取推荐阅读
export const getReadingList = (data) => post('/api/index/recommend_information', data);